package com.sun.mapper;

import com.sun.bean.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TeacherDao {
    Teacher getTea(Integer id);
    List<Teacher> getTeaByCond(Teacher teacher);
}
